package com.wjb.pojo.Emun;

/**
 * @author : 王济彬
 * @date: 2025/5/29 - 05 - 29 - 16:01
 * @Description: com.wjb.pojo.Emun
 * @version: 1.0
 */
public enum OrderStatus {
    PENDING_PAYMENT(1, "待支付"),
    PAID(2, "已支付"),
    SHIPPED(3, "已发货"),
    COMPLETED(4, "已完成"),
    CANCELLED(5, "已取消");

    private int code;
    private String description;

    OrderStatus() {
    }

    OrderStatus(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
